package com.sina.shop.dao.collect;

import com.sina.shop.core.BaseDao;
import com.sina.shop.domain.collect.CollectBusiness;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:收藏店铺管理
 * 段浩杰   2018-02-05-11:02
 */
public interface CollectBusinessDao extends BaseDao {

    //根据用户id得到收藏店铺列表
    List<CollectBusiness> getCollectBusinessByAdminId(Long adminId);

    //根据id删除收藏店铺记录
    Integer deleteCollectBusiness(Long id);

    CollectBusiness getCollectBusinessByAidAndBid(Long adminId, Long businessId);
}
